﻿namespace Maple.Weixin.MP.Entities.Messages
{
    public class ResponseText : IResponseService
    {
        private readonly string content;

        public ResponseText(string content) {
            this.content = content;
        }

        #region Implementation of IResponseService

        public ResponseMessageBase Handle(RequestMessageBase requestMessage) {
            var responseMessage = requestMessage.CreateTextResponse(content);
            return responseMessage;
        }

        #endregion
    }
}
